#ifndef __EMITTER_MANAGER_HPP__
#define __EMITTER_MANAGER_HPP__

#include <vector>
#include <time.h>

#define MAX_EMITTERS  50

class BaseEmitter;

class EmitterManager
{
public:
	static EmitterManager* GetInstance();
	static void  DestroyInstance();

	void AddEmitter(BaseEmitter* emitter);
	void removeEmitter(BaseEmitter* pEmitter);
	void Update(clock_t tick);
	void Render();

private:
	EmitterManager();
	~EmitterManager();

	static EmitterManager* m_pInstance;

	std::vector<BaseEmitter*>   m_pEmitters;
};

#endif // __EMITTER_MANAGER_HP__